package singleton
{
	public class Session
	{
		private static var session:Session;
		private var sessionId:String;
		public function Session(singleton:SingletonKeeper)
		{
		}
		
		public static function getInstance():Session {
			if (session == null) {
				session = new Session(new SingletonKeeper());
			}
			return session;
		}
		
		public function setId(id:String):void {
			this.sessionId = id;
		}
		
		public function getId():String {
			return this.sessionId;
		}
	}
}